package org.his.pojo.huiyuan;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Objects;

public class MemberCardInfo implements Serializable {
    private Integer cardMemberId;
    private BigDecimal cardBalance;
    private Integer cardType;
    private Integer cardIfGroup;
    private Timestamp cardRegDate;
    private Integer cardStatus;
    private BigDecimal cardRebate;
    private String memberName;
    private String memberSex;
    private String membershenfen;
    private String memberBirthday;
    private String memberEmail;
    private String memberAddress;
    private String memberPhone;
    private String memberCustomer;
    private String memberService;
    private Timestamp memberRegDate;
    private String taboo;
    private CardTranInfo cardTranInfo;

    public CardTranInfo getCardTranInfo() {
        return cardTranInfo;
    }

    public void setCardTranInfo(CardTranInfo cardTranInfo) {
        this.cardTranInfo = cardTranInfo;
    }

    public Integer getCardMemberId() {
        return cardMemberId;
    }

    public void setCardMemberId(Integer cardMemberId) {
        this.cardMemberId = cardMemberId;
    }

    public BigDecimal getCardBalance() {
        return cardBalance;
    }

    public void setCardBalance(BigDecimal cardBalance) {
        this.cardBalance = cardBalance;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public Integer getCardIfGroup() {
        return cardIfGroup;
    }

    public void setCardIfGroup(Integer cardIfGroup) {
        this.cardIfGroup = cardIfGroup;
    }

    public Timestamp getCardRegDate() {
        return cardRegDate;
    }

    public void setCardRegDate(Timestamp cardRegDate) {
        this.cardRegDate = cardRegDate;
    }

    public Integer getCardStatus() {
        return cardStatus;
    }

    public void setCardStatus(Integer cardStatus) {
        this.cardStatus = cardStatus;
    }

    public BigDecimal getCardRebate() {
        return cardRebate;
    }

    public void setCardRebate(BigDecimal cardRebate) {
        this.cardRebate = cardRebate;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberSex() {
        return memberSex;
    }

    public void setMemberSex(String memberSex) {
        this.memberSex = memberSex;
    }

    public String getMembershenfen() {
        return membershenfen;
    }

    public void setMembershenfen(String membershenfen) {
        this.membershenfen = membershenfen;
    }

    public String getMemberBirthday() {
        return memberBirthday;
    }

    public void setMemberBirthday(String memberBirthday) {
        this.memberBirthday = memberBirthday;
    }

    public String getMemberEmail() {
        return memberEmail;
    }

    public void setMemberEmail(String memberEmail) {
        this.memberEmail = memberEmail;
    }

    public String getMemberAddress() {
        return memberAddress;
    }

    public void setMemberAddress(String memberAddress) {
        this.memberAddress = memberAddress;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getMemberCustomer() {
        return memberCustomer;
    }

    public void setMemberCustomer(String memberCustomer) {
        this.memberCustomer = memberCustomer;
    }

    public String getMemberService() {
        return memberService;
    }

    public void setMemberService(String memberService) {
        this.memberService = memberService;
    }

    public Timestamp getMemberRegDate() {
        return memberRegDate;
    }

    public void setMemberRegDate(Timestamp memberRegDate) {
        this.memberRegDate = memberRegDate;
    }

    public String getTaboo() {
        return taboo;
    }

    public void setTaboo(String taboo) {
        this.taboo = taboo;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        MemberCardInfo that = (MemberCardInfo) o;
        return Objects.equals(cardMemberId, that.cardMemberId) &&
                Objects.equals(cardBalance, that.cardBalance) &&
                Objects.equals(cardType, that.cardType) &&
                Objects.equals(cardIfGroup, that.cardIfGroup) &&
                Objects.equals(cardRegDate, that.cardRegDate) &&
                Objects.equals(cardStatus, that.cardStatus) &&
                Objects.equals(cardRebate, that.cardRebate) &&
                Objects.equals(memberName, that.memberName) &&
                Objects.equals(memberSex, that.memberSex) &&
                Objects.equals(membershenfen, that.membershenfen) &&
                Objects.equals(memberBirthday, that.memberBirthday) &&
                Objects.equals(memberEmail, that.memberEmail) &&
                Objects.equals(memberAddress, that.memberAddress) &&
                Objects.equals(memberPhone, that.memberPhone) &&
                Objects.equals(memberCustomer, that.memberCustomer) &&
                Objects.equals(memberService, that.memberService) &&
                Objects.equals(memberRegDate, that.memberRegDate) &&
                Objects.equals(taboo, that.taboo);
    }

    @Override
    public int hashCode() {
        return Objects.hash(cardMemberId, cardBalance, cardType, cardIfGroup, cardRegDate, cardStatus, cardRebate, memberName, memberSex, membershenfen, memberBirthday, memberEmail, memberAddress, memberPhone, memberCustomer, memberService, memberRegDate, taboo);
    }
}
